package cn.com.jenson.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public final class AuditStatus {
    /**
     * 状态值
     */
    private Integer statusValue;
    /**
     * 状态说明
     */
    private String statusLabel;

    /**
     * 创建状态
     */
    public static AuditStatus CREATE = new AuditStatus(0,"创建");
    /**
     * 提交状态
     */
    public static AuditStatus SUBMIT = new AuditStatus(10,"提交");
    /**
     * 通过状态
     */
    public static AuditStatus PASS  = new AuditStatus(100,"通过");
    /**
     * 不通过状态
     */
    public static AuditStatus NOT_PASS  = new AuditStatus(-1,"不通过");
}
